package com.antdesignbackend.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_shopcart")
public class ShopCart {
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;
    /**
     商品id
     */
    @TableField("GoodId")
    private Integer goodId;
    /**
     商品数量
     */
    @TableField("Number")
    private Integer number;
    /**
     用户Id
     */
    @TableField("UserId")
    private Integer userId;
}
